home *** CD-ROM | disk | FTP | other *** search
- Path: prbarnes.demon.co.uk!peter
- From: Peter Barnes <peter@prbarnes.demon.co.uk>
- Newsgroups: comp.sys.m68k
- Subject: Re: 68332 TPU port as midi out.....Help!
- Date: Wed, 7 Feb 1996 14:35:07 +0000
- Organization: Electronic Design Consultants
- Distribution: world
- Message-ID: <QzYz9CAbiLGxEw9b@prbarnes.demon.co.uk>
- References: <Anr4ECAp3UFxEw38@madpanic.demon.co.uk>
- NNTP-Posting-Host: prbarnes.demon.co.uk
- X-NNTP-Posting-Host: prbarnes.demon.co.uk
- MIME-Version: 1.0
- X-Newsreader: Turnpike Version 1.11 <8iyjw$oXRruO8E0bH2Ks1bjnoz>
-
- In article <Anr4ECAp3UFxEw38@madpanic.demon.co.uk>, Declan Smith
- <Declan@madpanic.demon.co.uk> writes
- >I am currently designing a midi project with the 68332 uP. As yet I
- >have only one data sheet and no manuals. This explanation may get
- >confusing:
- >
- >The midi output section of the project consists of two independant
- >channels (A & B). Each midi-channel message can be routed to either of
- >A or B, thus creating effectievly 32 Midi channels.
- >
- >For each one of my output channels (A or B), the midi data can be routed
- >to one or more of four output sockets per channel (by using 4 control
- >lines into a 4016 to control the passage of the midi signal).
- >
- >I have designed an ASM controller & data processor to carry out this
- >function, however, my question is : can I use the TPU part of the 68332
- >to generate the following:
- >
- >1. If midi message is a channel message, output 4-bit routing code.
- >2. Clock out start bit, 8 data bits, 1 stop bit. (at 31.25Kbits/s)
- >
- >The above needs to be duplicated (ie to support Channel A and B).
- >
- >Thanks in anticipation
- >
- >
-
- If memory serves (?) using a 4016 in Midi might produce interesting results as I
- seem to remember that the midi interface is type of opto-isolated current loop
- (to protect the musicians from electric shocks and to prevent earth loops
- mucking up the audio).
-
- Just a word about Midi INPUTS, if each of your channels (A/B) can function as an
- input you might loose data if your switch is not looking at it!. There might be
- another more suitable newsgroup for the Midi implementations
-
- Buried on the Freeware area of motorolas FTP area is a TPU code for an Async.
- serial link running out of the TPU. All the code is there - what the hell I'll
- attach the code in another e-mail. Note that I've not tried it yet so I don't
- know HOW you implement it.
-
- --
- Peter Barnes
-